<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
    <script type="text/html" id="htmlTypes">
        image:{
        name:'image'
        },
        qrcode:{
        name:'qrcode'
        },
        barcode:{
        name:'barcode'
        },
        label: {
        name: 'label'
        },//文本输入
        //------- 外部接口传入控件类型 ---------------------
        textInput: {
        name: 'textInput'
        },
        selectInput: {
        name: 'selectInput'
        },
        repeatSelect: {
        name: 'repeatSelect'
        },
        read: {
        name: 'read'
        },
        other: {
        name: 'other'
        }
    </script>

    <!--表格类-->
    <script type="text/html" id="page_design_control_tableLine">
        {{if control.controlType=='detail'}}
        <oui-include url="res_common/oui/ui/ui_pc/art-components/detailTable.art.html"
                     ref="{{control.id}}"
                     type="module"
                     data="__data().getControlRenderDataById('{{control.id}}')"></oui-include>
        {{/if}}
    </script>
    <script type="text/html" id="page_runtime_control_tableLine">
        {{if control.controlType=='detail'}}
        <oui-include url="res_common/oui/ui/ui_pc/art-components/detailTable.art.html"
                     ref="{{control.id}}"
                     type="module"
                     data="pageData.getControlRenderDataById('{{control.id}}')"></oui-include>
        {{/if}}
    </script>


    <!--文本输入类-->
    <!--<textarea  placeholder="请输入" class="control-field-value-abs" style="{{AbsoluteDesign.findFieldStyle4Dom(control)}}">{{AbsoluteDesign.startTemplateTag}}{{control.name}}{{AbsoluteDesign.endTemplateTag}}</textarea>-->
    <script type="text/html" id="page_design_control_textInput">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="__data().getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>
    <script type="text/html" id="page_runtime_control_textInput">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="pageData.getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>

    <!--选择输入类-->
    <script type="text/html" id="page_design_control_selectInput">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="__data().getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>
    <script type="text/html" id="page_runtime_control_selectInput">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="pageData.getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>

    <!--平铺输入类-->
    <script type="text/html" id="page_design_control_repeatSelect">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="__data().getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>
    <script type="text/html" id="page_runtime_control_repeatSelect">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="pageData.getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>

    <!--查看类-->
    <script type="text/html" id="page_design_control_read">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="__data().getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>
    <script type="text/html" id="page_runtime_control_read">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="pageData.getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>

    <!--other-->
    <script type="text/html" id="page_design_control_other">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="__data().getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>
    <script type="text/html" id="page_runtime_control_other">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="pageData.getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>
    <!--扩展一个html类型试试
        1、检查htmlType是否在 res_engine/page_design/pc/js/page-design.js的 findControlTypes 方法中定义 、如果没有增加htmlType枚举类型，并在findControlTypes中增加htmlType分类项
        2、在 res_engine/page_design/common/page-design-tpl.html 中检查是否有htmlType分类项，如果没有则增加
        3、在res_common/oui/ui/ui_pc/components中增加组件
        4、在res_engine/page_design/pc/components-biz-prop-art-tpl中增加 属性面板
    -->
    <script type="text/html" id="page_design_control_button">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="__data().getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>
    <script type="text/html" id="page_runtime_control_button">
        <oui-include url="res_common/oui/ui/ui_pc/components/{{control.controlType}}.vue.html"
                     ref="{{control.id}}"
                     type="module"
                     data="pageData.getControlRenderDataById('{{control.id}}')"></oui-include>
    </script>
</body>
</html>

